<template>
  <div class="tupian" v-if="module.modules">
    <div
      class="img-container"
      v-if="module.modules[0] && module.modules[0].pic"
    >
      <img class="img-con" :src="fileBaseUrl + module.modules[0].pic" />
    </div>

    <ModuleNotConfig v-else />
  </div>
</template>

<script>
export default {
  props: {
    module: {
      type: Object,
    },
    fileBaseUrl: {
      type: String,
    },
  },
};
</script>

<style lang="scss" scoped>
.img-container {
  padding: 0px 10px 15px 10px;
  /* margin: 0px 20rpx; */
  overflow: hidden;
}
.img-con {
  border-radius: 10px;
  width: 100%;
}
</style>